{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>消息详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">消息标题：</label>
                            <div class="layui-input-block">
                                <input type="text" name="m_title" lay-verify="required" class="layui-input" value="{$info.m_title}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">推送方式：</label>
                            <div class="layui-input-block">
                                {if $info.m_way==1}
                                <input type="text" name="m_way" lay-verify="required" class="layui-input" value="即时推送" disabled>
                                {/if}
                                {if $info.m_way==2}
                                <input type="text" name="m_way" lay-verify="required" class="layui-input" value="定时推送" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">推送类型：</label>
                            <div class="layui-input-block">
                                {if $info.m_type==1}
                                <input type="text" name="m_type" lay-verify="required" class="layui-input" value="商品" disabled>
                                {/if}
                                {if $info.m_type==2}
                                <input type="text" name="m_type" lay-verify="required" class="layui-input" value="文章" disabled>
                                {/if}
                            </div>
                        </div>

                        {if $info.m_type==1}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商品名称：</label>
                            <div class="layui-input-block">
                                <input type="text" name="good_name" lay-verify="required" class="layui-input" value="{$info.good_name}" disabled>
                            </div>
                        </div>
                        {else/}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">文章标题：</label>
                            <div class="layui-input-block">
                                <input type="text" name="n_title" lay-verify="required" class="layui-input" value="{$info.n_title}" disabled>
                            </div>
                        </div>
                        {/if}

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">推送状态：</label>
                            <div class="layui-input-block">
                                {if $info.m_status==1}
                                <input type="text" name="m_status" lay-verify="required" class="layui-input" value="未推送" disabled>
                                {/if}
                                {if $info.m_status==2}
                                <input type="text" name="m_status" lay-verify="required" class="layui-input" value="已推送" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">创建时间：</label>
                            <div class="layui-input-block">
                                <input type="text" name="m_datetime" lay-verify="required" class="layui-input" value="{$info.m_datetime}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">发送时间：</label>
                            <div class="layui-input-block">
                                <input type="text" name="m_time" lay-verify="required" class="layui-input" value="{$info.m_time}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">推送范围：</label>
                            <div class="layui-input-block">
                                {if $info.m_range==1}
                                <input type="text" name="m_range" lay-verify="required" class="layui-input" value="全部" disabled>
                                {/if}
                                {if $info.m_range==2}
                                <input type="text" name="m_range" lay-verify="required" class="layui-input" value="学校" disabled>
                                {/if}
                                {if $info.m_range==3}
                                <input type="text" name="m_range" lay-verify="required" class="layui-input" value="个人" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label" style="width: 135px">推送用户/学校：</label>
                            <div class="layui-input-block">
                                <textarea name="m_user" lay-verify="required" class="layui-input " style="height:100px;width: 90%" disabled>{$info.username}</textarea>
                            </div>
                        </div>




                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                                <button class="layui-btn layui-btn-primary" onclick="history.go(-1)">返回</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script>
</script>

</body>
</html>
